﻿@model BaseQueryModel
@{
    var viewModel = Model ?? new BaseQueryModel();
}
&nbsp;每页显示
<select id="pageSize" name="pageSize" style="width:50px;">
    <option value="10">10</option>
    <option value="20">20</option>
    <option value="30">30</option>
    <option value="50">50</option>
    <option value="100">100</option>
    <option value="1000">1000</option>
    <option value="10000">10000</option>
</select>行 
&nbsp;
<script>
    $(document).ready(function () {
        var select = document.getElementById("pageSize");
        for (var i = 0; i < select.options.length; i++) {
            if (select.options[i].value == @viewModel.pageSize) {
                select.options[i].selected = true;
                break;
            }
        }
    });
</script>
